-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Multi-coins support for validators #4794
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm against these changes. Extending x/staking
to have multiple bond token denoms as this PR is doing is very general. This needs to be extremely specified on an ADR first, as these changes could have security implications.
@fedekunze Thank you for taking the time to help me suggesting what to do! Do you have an example of a previous ADR? I would love to take it as example in order to write the one for this implementation! |
Why don't we just use |
@alexanderbez I thought that since I was editing that code, I could implement multiple coins. The single coin will then just be a trivial usage of the multiple ones. |
I don't imagine we'll support staking multi-coins anytime soon. |
You'd have to account for minting (which od the staking coins will you mint every block)? Same applies to slashing. Also, I don't know if tendermint supports multiple coins? |
Tendermint only cares about power. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Description
This PR should implement the support for multi-coins chains that want to allow validators to support multiple coins denominations during the related operations (delegation, rewards, etc.).
closes: #4783
Checklist
docs/
)clog add [section] [-t <tag>] [-m <msg>]
Files changed
in the github PR explorerFor Admin Use: